package com.k2091.washcar.service;

import com.k2091.washcar.entity.Cleaner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.k2091.washcar.entity.Examine;
import com.k2091.washcar.entity.FormInline;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2021-06-01
 */
public interface ICleanerService extends IService<Cleaner> {

    //添加我要成为洗车员申请记录
    int insert(Examine examine);

    List<Cleaner> selectCleaner(FormInline formInline);

    void upCleanerStatus(@Param("id")Long id, @Param("status")int status, @Param("token")String token);

    void deleteCleaner(Long id);

    int createrCleaner(Cleaner cleaner);

    int upCleaner(Cleaner cleaner);

    Cleaner selectById(Long id);


}
